package com.weipai.demo.mapper;

import com.weipai.demo.model.AdvertisingLocation;
import org.apache.ibatis.annotations.Param;

public interface AdvertisingLocationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AdvertisingLocation record);

    int insertSelective(AdvertisingLocation record);

    AdvertisingLocation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AdvertisingLocation record);

    int updateByPrimaryKey(AdvertisingLocation record);

    void updateByid(@Param("advertisingLocation") String advertisingLocation, @Param("status") Integer status, @Param("id") Integer id);

    void insertLocation(String advertisingLocation, Integer status);
}